﻿@model IEnumerable<XtremBiking.Logica.DTO.RoutineType>
@{
    List<XtremBiking.Logica.DTO.RoutineType> lista = XtremBiking.Logica.RoutineTypes.getRoutineTypes();
    
    }

<select id="RoutineType" name="RoutineType"> 
   @foreach (XtremBiking.Logica.DTO.RoutineType item in lista)
    {
        @*<option value="@Convert.ToInt32(item.RoutineTypeId)" @(Model == item.RoutineTypeId ? "selected=selected" : "")>@item</option>*@
                <option value="@Convert.ToInt32(item.RoutineTypeId)")>@item.Name</option>

    }
</select>

